package org.example.taskmaster.sorters;

import org.example.taskmaster.database.DatabaseAdapter;

public class CompletedSorter extends Sorter {
	
	public CompletedSorter() {
		super();
		type = Sorter.COMPLETE;
	}

	@Override
	public String orderBy() {
		String desc = "";
		if (sortDescending == 1) {
			desc = " DESC";
		}
		return DatabaseAdapter.KEY_COMPLETE + desc ;
	}

}
